From: Thien-Thi Nguyen Date: Sat, 23 Jun 2007 12:18:52 +0000 (+0000) Subject: (next-error-recenter): Accept `(4)' as well; X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18207 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a620b8a0bdcbd03b729cf416eef9fcaffb1f03fa;p=emacs.git (next-error-recenter): Accept `(4)' as well; also, specify `integer' instead of `number'. --- diff --git a/lisp/simple.el b/lisp/simple.el index 765032f9f8d..b6b55a5f2eb 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -157,9 +157,10 @@ If `fringe-arrow', indicate the locus by the fringe arrow." :version "22.1") (defcustom next-error-recenter nil - "*Display the line in the visited source file recentered to this number. -If nil, don't do any recentering. See `recenter'." - :type '(choice (number :tag "Argument for `recenter'") + "*Display the line in the visited source file recentered as specified. +If non-nil, the value is passed directly to `recenter'." + :type '(choice (integer :tag "Line to recenter to") + (const :tag "Center of window" (4)) (const :tag "No recentering" nil)) :group 'next-error :version "23.1")